package com.invest.infra.excel.validator.impl;


import com.invest.infra.excel.validator.CellValidator;
import com.invest.utils.check.CommonCheck;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("mobileValidator")
public class MobileValidator implements CellValidator {

	@Override
	public String validate(Map<String,Object> extMap,String value) {
		if(CommonCheck.isNotMobile(value)){
			return "不是手机!";
		}
		return null;
	}

}
